package com.groupbuying.cheetah.pay.dao;

import com.groupbuying.cheetah.pay.domain.PayOrderRelDO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Mapper
@Repository
public interface PayOrderRelDao {
    PayOrderRelDO get(String id);

    PayOrderRelDO getByOrderId(String orderId);

    PayOrderRelDO getByOutTradeNo(String outTradeNo);

    List<PayOrderRelDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(PayOrderRelDO payOrderRel);

    int update(PayOrderRelDO payOrderRel);

    int remove(String id);

    int batchRemove(String[] ids);
}
